<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>杰利联合</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
		<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
		<meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
		<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
		<meta content="no-cache" http-equiv="pragma">
		<meta content="0" http-equiv="expires">
		<meta content="telephone=no, address=no" name="format-detection">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
		<link rel="stylesheet" type="text/css" href="${ctxStatic}/jiu/css/mobile_module.css?v=1492676217" media="all">
		<script type="text/javascript" src="${ctxStatic}/jiu/js/jquery-2.0.3.min.js"></script>
		<link href="${ctxStatic}/jiu/css/common.css?v=1492676217" rel="stylesheet" type="text/css">		
		<link rel="stylesheet" href="${ctxStatic}/jiu/css/pingjia.css"/>
		<style>
					.zhibiao2{
			margin-top: -45px;
    font-size: 12px;
    line-height: 16px;}		
		</style>
	</head>
	<body style="background-color: white;">
		<header  class="hearder" style="">
			<a href="javascript:window.history.go(-1)">
				<img src="${ctxStatic}/jiu/img/fanhui.png" style="height: 20px;color: white;top:15px;position: absolute;left: 10px;"/></a>
			评价详情
	    </header>
	  <%--  	<div class="shang">
			<div style="">
				<img src="${store.headimgurl}" style="width:60px;height:60px;border-radius: 50px;">
			</div>
			<div style="margin-left: 10px;line-height: 25px;">
				<p class="name">${store.name}</p>				
			</div>
		</div> --%>
		<div class="shang"  style="position: relative;">
			<div style="height: 90px;width: 120px;">
				<img src="${store.headimgurl}" style="width: 100%;height:90px;border-radius: 3px;">
			</div>
			<div style="margin-left: 10px;line-height: 25px;">
				<p class="name">${jiuOrder.storeName}</p>
				<p class="property" style="font-size: 15px;margin-top: 15px;">
					<span class="colorless">价格</span>
					<span class="orange">${jiuOrder.totalPrice}积分</span>
				</p>
				<p class="property" style="">
					<span class="colorless">数量</span>
					<span>${jiuOrder.orderNum}</span>
				</p>
				
			</div>
		
			<div style="position: absolute;right: 10px;top: 5px;">
				<p style="text-align: right;">
					<img src="${ctxStatic }/jiu/ratingimg/${storejermsg.creditRating.ratingpic}" style="height: 16px;"/>
				</p>
			</div>
			
			<div class="zhibiao" style="bottom: 10px;font-size: 12px;line-height: 20px;text-align: right;">
				<p>消费次数&nbsp;${storejermsg.salesnum }</p>
				<p>综合评价<span style="color: #ff9000;font-size: 14px;">&nbsp;${storejermsg.allscore }</span></p>
			</div>
		</div>
		<div style="text-align: center;margin-top: 10%;">
	 	
			
		
			
           
			
			<c:if test="${not empty jiuEvaluateLogs}">	
		<!--门店对工厂评价-->
		<div style="border-bottom: 10px solid #eee;border-top: 10px solid #eee;margin-top: 10px;padding-bottom: 10px;text-align:left;">
			<p style="margin: 10px;color: #666;">门店对我的评价</p>
			<div class="pingbox2" style="border-bottom: 1px solid #eee;padding-bottom: 10px;margin-top: 0px;">
			   <div>
					<span class="username1">${storejermsg.name}</span>
					<span >
						<img src="${ctxStatic }/jiu/ratingimg/${storejermsg.creditRating.ratingpic }" style="height: 15px;"/>
					</span>
				<p style="color: #afafaf;font-size: 12px;"><fmt:formatDate value="${jiuEvaluateLogs.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></p>
				</div>
				<div>
					<div class="zhibiao2">
						<p>接单服务 <span>${jiuEvaluateLogs.starNum}</span></p>
						<p>生产质量 <span>${jiuEvaluateLogs.starNumTwo}</span></p>
						<p>配送速度<span> ${jiuEvaluateLogs.starNumThird}</span></p>
					</div>
				</div>
			</div>
			<div style="margin: 10px;">
		
			
						<c:forEach items="${words1}" var="words">
							${words}
						</c:forEach>
					
			
			</div>
		</div>
		 </c:if>	
		<!--工厂对门店评价-->
		<div style="border-bottom: 10px solid #eee;margin-bottom: 80px;padding-bottom: 10px;text-align:left;">
			<p style="margin: 10px;color: #666;">我对门店的评价</p>
			<div class="pingbox2" style="border-bottom: 1px solid #eee;padding-bottom: 10px;margin-top: 0px;">
				<div>
					<span class="username2">${factorjermsg.name }</span>
					<span><img src="${ctxStatic }/jiu/ratingimg/${factorjermsg.creditRating.ratingpic }" style="height: 15px;"/></span>
				<p style="color: #afafaf;font-size: 12px;"><fmt:formatDate value="${jiuEvaluateLogm.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></p>
				</div>
				<div>
					<div class="zhibiao2">
						<p>支付速度 <span>${jiuEvaluateLogm.starNum}</span></p>
						<p>收货速度 <span>${jiuEvaluateLogm.starNumTwo}</span></p>
						<p>公&nbsp;&nbsp;正&nbsp;&nbsp;度 <span>${jiuEvaluateLogm.starNumThird}</span></p>
					</div>
				</div>
			</div>
			<div style="margin: 10px;">
				<c:forEach items="${words2}" var="words">
							<li>${words}</li>
						</c:forEach>
			</div>
		</div>
		
		<div style="position: fixed;bottom:0px;right:0px;z-index: 999999;background-color: #fff;">
			<a href="${ctxFront }/jiu/toSeeHistory?storeId=${storejermsg.id}">
				<div style="position: fixed;
    bottom: 20px;
    right: 0px;
    left: 0px;
    z-index: 999999;
    background-color: #fff;">
					<button class="pingjia_btn" style="width: 50%;margin-left: 25%;">历史评价</button>
				</div>
			</a>
		</div>	
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		<script type="text/javascript" src="js/startScore.js"></script>
		
		<script>
		    //显示分数
		      $(".show_number div p").each(function(index, element) {
		        var num=$(this).attr("tip");
		        var www=num*2*18;//
		        $(this).css("width",www);		       
		    });
      </script>        
	</body>
</html>